package civicinity.ist.psu.edu.share;

public class ShareItem implements Cloneable{

	private int eventID;
	private int eventCommentCnt;
	private int eventLike = 0;
	private int checkinCnt = 0;
	
	private String eventUsername;
	private String eventCategory;
	private String eventTitle;
	private String eventDescription;
	private String eventDate;
	private String eventImageUrl;
	private String eventComment;
	
	private double eventLatitude;
	private double eventLongitude;
	
	private float eventAccuracy;
	private float eventDistance;
	
	public ShareItem cloen() throws CloneNotSupportedException {
		
		ShareItem sItem = (ShareItem) super.clone();
		return sItem;
	}
	// set functions
	public void setEventID(int id) {
		eventID = id;
	}
	
	public void setEventCommentCnt(int num) {
		eventCommentCnt = num;
	}
	
	public void setEventLike(int like) {
		eventLike = like;
	}
	
	public void setEventCheckInCnt(int count) {
		checkinCnt = count;
	}
	
	public void setEventUsername(String username) {
		eventUsername = username;
	}

	public void setEventCategory(String category) {
		eventCategory = category;
	}
	
	public void setEventTitle(String title) {
		eventTitle = title;
	}
	
	public void setEventDescription(String description) {
		eventDescription = description;
	}
	
	public void setEventDate(String date) {
		eventDate = date;
	}
	
	public void setEventPhotoUrl(String url) {
		eventImageUrl = url;
	}
	
	public void setEventLatitude(double latitude) {
		eventLatitude = latitude;
	}
	
	public void setEventLongitude(double longitude) {
		eventLongitude = longitude;
	}
	
	public void setEventComment(String comment) {
		eventComment = comment;
	}
	
	public void setEventAccuracy(float accuracy) {
		eventAccuracy = accuracy;
	}
	
	public void setEventDistance(float distance) {
		eventDistance = distance;
	}
	
	
	// get functions
	public int getEventID() {
		return eventID;
	}
	
	public int getEventCommentCnt() {
		return eventCommentCnt;
	}
	
	public int getEventLike() {
		return eventLike;
	}
	
	public int getEventCheckInCnt() {
		return checkinCnt;
	}
	
	public String getEventUsername() {
		return eventUsername;
	}
	
	public String getEventCategory() {
		return eventCategory;
	}
	
	public String getEventTitle() {
		return eventTitle;
	}
	
	public String getEventDescription() {
		return eventDescription;
	}
	
	public String getEventPhotoUrl() {
		return eventImageUrl;
	}
	
	public String getEventDate() {
		return eventDate;
	}
	
	public double getEventLatitude() {
		return eventLatitude;
	}
	
	public double getEventLongitude() {
		return eventLongitude;
	}
	
	public String getEventComment() {
		return eventComment;
	}
	
	public float getEventAccuracy() {
		return eventAccuracy;
	}
	
	public float getEventDistance() {
		return eventDistance;
	}
	
}
